Simplify spinlock code and re-enable IRQs where possible when spinning.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 31 Mar 2009 14:03:59 +0000 (15:03 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 31 Mar 2009 14:03:59 +0000 (15:03 +0100)
commit5f0dffe668f2792978a8a07520d43df0dd5d7ce3
tree020653b758bd5823cb134c651256dee7dc821990
parentc2901a5cc44c85a9ceeebd47ff21946bb35ba930
Simplify spinlock code and re-enable IRQs where possible when spinning.

Based on a patch by Juergen Gross.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/spinlock.c
xen/include/asm-ia64/linux-xen/asm/spinlock.h
xen/include/asm-x86/spinlock.h